<?php
	include_once('modules/pd_character.php');

	class Watched{
		private $id;
		private $pid;
		private $name;
		private $faction;
		private $alliance;
		private $alerter;

		public function __construct($id = 0, $pid, $name, $faction, $alliance, $alerter) {
			$this->id = $id;
			$this->pid = $pid;
			$this->name = $name;
			$this->faction= $faction;
			$this->alliance= $alliance;
			$this->alerter= $alerter;
		}
		
		public function getId() {
			return $this->id;
		}
		
		public function getPid() {
			return $this->pid;
		}

		public function getName() {
			return $this->name;
		}
		
		public function getFaction() {
			return $this->faction;
		}
		
		public function getAlliance() {
			return $this->alliance;
		}
		
		public function getAlerter() {
			return $this->alerter;
		}

		public function drawName() {
			$char = new PD_Character($_SESSION["account"]->getUniverse(), $this->name);
			$char->drawName();
		}
	}
?>